package com.constant;

import com.utils.Env;

public class Constant {
	public static String getAuthKey() throws Exception {
		String key = Env.getInstance().getProperty("acckey");
		return key;
	}

	public static String getCc() throws Exception {
		String cc = Env.getInstance().getProperty("cc");

		return cc;
	}

	public static String getUser() throws Exception {
		String cc = Env.getInstance().getProperty("user");

		return cc;
	}
	public static String getPasswd() throws Exception {
		String cc = Env.getInstance().getProperty("passwd");

		return cc;
	}
	public static String getAuth() throws Exception {
		String cc = Env.getInstance().getProperty("auth");

		return cc;
	}

	public static String getAuthType() throws Exception {
		String cc = Env.getInstance().getProperty("authType");

		return cc;
	}

	public static String getSmtp() throws Exception {
		String cc = Env.getInstance().getProperty("smtp");

		return cc;
	}

	public static String getSmtpHost() throws Exception {
		String cc = Env.getInstance().getProperty("smtpHost");

		return cc;
	}

	public static String getMailPort() throws Exception {
		String cc = Env.getInstance().getProperty("mailPort");

		return cc;
	}

	public static String getMailPortHost() throws Exception {
		String cc = Env.getInstance().getProperty("mailPortHost");

		return cc;
	}

	public static void main(String[] args) throws Exception {
		System.out.println(getMailPortHost());
	}

}
